package com.greyu.ysj.mapper;

import com.greyu.ysj.entity.CbtCoininfo;
import com.greyu.ysj.entity.CbtCreateCoin;
import com.greyu.ysj.entity.CbtCreateCoinExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CbtCreateCoinMapper {
    long countByExample(CbtCreateCoinExample example);

    int deleteByExample(CbtCreateCoinExample example);

    int deleteByPrimaryKey(Integer coinId);

    int insert(CbtCreateCoin record);

    int insertSelective(CbtCreateCoin record);

    List<CbtCreateCoin> selectByExample(CbtCreateCoinExample example);

    CbtCreateCoin selectByPrimaryKey(Integer coinId);

    int updateByExampleSelective(@Param("record") CbtCreateCoin record, @Param("example") CbtCreateCoinExample example);

    int updateByExample(@Param("record") CbtCreateCoin record, @Param("example") CbtCreateCoinExample example);

    int updateByPrimaryKeySelective(CbtCreateCoin record);

    int updateByPrimaryKey(CbtCreateCoin record);
    
    //
    List<CbtCreateCoin> selectCoinVoteList();
}